package com.cwj.demo.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class DemoEvent extends ApplicationEvent {

    private String channel;

    public DemoEvent(String channel) {
        super(channel);
        this.channel = channel;
    }
}
